namespace MesDAL.DBInfo
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("workpiece_info")]
    public partial class workpiece_info
    {
        public int id { get; set; }

        [Required]
        [StringLength(150)]
        public string number { get; set; }

        [StringLength(255)]
        public string size { get; set; }

        public int qty { get; set; }

        [StringLength(150)]
        public string name { get; set; }

        [StringLength(150)]
        public string order { get; set; }

        [StringLength(150)]
        public string deadline { get; set; }

        public DateTime date { get; set; }

        [StringLength(150)]
        public string material { get; set; }
    }
}
